package com.monkeygroup.mygoplus.user.vo;

import java.util.Map;

/**
 * Created by cumt on 2017/6/29.
 */

public class IdentifyVO {
    /**
     * 用户身份 0 一般买家 1房东屋主 2经纪人营业员 10 企业品牌 11 专家
     */
    private int flag;

    /**
     * 当flag为0，1时，child_flag为0；当flag为2时，child_flag为 ；当flag为11时，child_flag为台湾地区
     */
    private int child_flag;
    /**
     * MyGo帐号，6-20个字节，仅能由字母、数字和下划线组成！
     */
    private String account;
    /**
     * 密码，6-16位
     */
    private String passwd;
    //姓
    private String firstname;
    //名
    private String lastname;
    private String email;
    //性別
    private int gender;
    //中国大陆为zh_CN，台湾地区为zh_TW
    private String lang;
    //详细地址
    private String addr;
    //如何得知本站
    private int source;
    //昵称
    private String name;
    //手机
    private String mobile;
//    /省，居住地址
    private int state;
//    /省份名称
    private String statename;
    private int city;
    private String cityname;
    private int area;
    private String areaname;
    private int street;
    private String streetname;
//    /街道，中国大陆使用，居住地址
    private String wstreet;
    private String wstreetname;
    private String alley;
    private String lane;
    private String gate;
    private String floor;
    private String room;
    //所在社区编号，居住地址
    private int community_seq;
    private String communityname;
    //省，公司地址
    private int comstate;
    private int comcity;
    private int comarea;
    private String companyaddr;
//    /公司街道，中国大陆使用，公司地址
    private String wcompanystreet;
    //巷，公司地址
    private String com_alley;
    private String com_lane;
    private String com_gate;
    private String com_floor;
    private String com_room;
    //公司所在社区编号，公司地址
    private int companycommunity_seq;
    //公司所在社区名称，公司地址
    private String companycommunityname;
    //品牌名称
    private String brand;
    private String brandname;
    private String companyname;
    private String uniquecode;
    //分店名
    private String shopname;
    //分店类型 1 直营店 2加盟店 3其他
    private int shoptype;
//    /身份为经纪人，营业员时，此参数表示公司注册名称
    private String brokerage;
    //主服务地区
    private int server_addr1;
    private String server_addr_I;
    private String server_addr_II;
//    /次服务地区
    private int server_addr2;
    //经纪人证号
    private String certi1;
    private String certi2;
    //台湾地区使用
    private String certi3;
    //身份证号，中国大陆使用
    private String idnum;
    //服务公司，中国大陆使用，1 属于公司 2独立经纪人
    private int isservepres;

    private int titles;
    //联络电话，专家身份
    private String contactphone;
    //公司电话
    private String companyphone;

    public String getServer_addr_I() {
        return server_addr_I;
    }

    public void setServer_addr_I(String server_addr_I) {
        this.server_addr_I = server_addr_I;
    }

    public String getServer_addr_II() {
        return server_addr_II;
    }

    public void setServer_addr_II(String server_addr_II) {
        this.server_addr_II = server_addr_II;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public int getChild_flag() {
        return child_flag;
    }

    public void setChild_flag(int child_flag) {
        this.child_flag = child_flag;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getFirstname() {
        return firstname;
    }

    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getLastname() {
        return lastname;
    }

    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getStatename() {
        return statename;
    }

    public void setStatename(String statename) {
        this.statename = statename;
    }

    public int getCity() {
        return city;
    }

    public void setCity(int city) {
        this.city = city;
    }

    public String getCityname() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }

    public int getArea() {
        return area;
    }

    public void setArea(int area) {
        this.area = area;
    }

    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname;
    }

    public int getStreet() {
        return street;
    }

    public void setStreet(int street) {
        this.street = street;
    }

    public String getStreetname() {
        return streetname;
    }

    public void setStreetname(String streetname) {
        this.streetname = streetname;
    }

    public String getWstreet() {
        return wstreet;
    }

    public void setWstreet(String wstreet) {
        this.wstreet = wstreet;
    }

    public String getWstreetname() {
        return wstreetname;
    }

    public void setWstreetname(String wstreetname) {
        this.wstreetname = wstreetname;
    }

    public String getAlley() {
        return alley;
    }

    public void setAlley(String alley) {
        this.alley = alley;
    }

    public String getGate() {
        return gate;
    }

    public void setGate(String gate) {
        this.gate = gate;
    }

    public String getFloor() {
        return floor;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public String getRoom() {
        return room;
    }

    public void setRoom(String room) {
        this.room = room;
    }

    public int getCommunity_seq() {
        return community_seq;
    }

    public void setCommunity_seq(int community_seq) {
        this.community_seq = community_seq;
    }

    public String getCommunityname() {
        return communityname;
    }

    public void setCommunityname(String communityname) {
        this.communityname = communityname;
    }

    public int getComstate() {
        return comstate;
    }

    public void setComstate(int comstate) {
        this.comstate = comstate;
    }

    public int getComcity() {
        return comcity;
    }

    public void setComcity(int comcity) {
        this.comcity = comcity;
    }

    public int getComarea() {
        return comarea;
    }

    public void setComarea(int comarea) {
        this.comarea = comarea;
    }

    public String getCompanyaddr() {
        return companyaddr;
    }

    public void setCompanyaddr(String companyaddr) {
        this.companyaddr = companyaddr;
    }

    public String getWcompanystreet() {
        return wcompanystreet;
    }

    public void setWcompanystreet(String wcompanystreet) {
        this.wcompanystreet = wcompanystreet;
    }

    public String getCom_alley() {
        return com_alley;
    }

    public void setCom_alley(String com_alley) {
        this.com_alley = com_alley;
    }

    public String getCom_gate() {
        return com_gate;
    }

    public void setCom_gate(String com_gate) {
        this.com_gate = com_gate;
    }

    public String getCom_floor() {
        return com_floor;
    }

    public void setCom_floor(String com_floor) {
        this.com_floor = com_floor;
    }

    public String getCom_room() {
        return com_room;
    }

    public void setCom_room(String com_room) {
        this.com_room = com_room;
    }

    public int getCompanycommunity_seq() {
        return companycommunity_seq;
    }

    public void setCompanycommunity_seq(int companycommunity_seq) {
        this.companycommunity_seq = companycommunity_seq;
    }

    public String getCompanycommunityname() {
        return companycommunityname;
    }

    public void setCompanycommunityname(String companycommunityname) {
        this.companycommunityname = companycommunityname;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getBrandname() {
        return brandname;
    }

    public void setBrandname(String brandname) {
        this.brandname = brandname;
    }

    public String getCompanyname() {
        return companyname;
    }

    public void setCompanyname(String companyname) {
        this.companyname = companyname;
    }

    public String getUniquecode() {
        return uniquecode;
    }

    public void setUniquecode(String uniquecode) {
        this.uniquecode = uniquecode;
    }

    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }

    public int getShoptype() {
        return shoptype;
    }

    public void setShoptype(int shoptype) {
        this.shoptype = shoptype;
    }

    public String getBrokerage() {
        return brokerage;
    }

    public void setBrokerage(String brokerage) {
        this.brokerage = brokerage;
    }

    public int getServer_addr1() {
        return server_addr1;
    }

    public void setServer_addr1(int server_addr1) {
        this.server_addr1 = server_addr1;
    }

    public int getServer_addr2() {
        return server_addr2;
    }

    public void setServer_addr2(int server_addr2) {
        this.server_addr2 = server_addr2;
    }

    public String getCerti1() {
        return certi1;
    }

    public void setCerti1(String certi1) {
        this.certi1 = certi1;
    }

    public String getCerti2() {
        return certi2;
    }

    public void setCerti2(String certi2) {
        this.certi2 = certi2;
    }

    public String getCerti3() {
        return certi3;
    }

    public void setCerti3(String certi3) {
        this.certi3 = certi3;
    }

    public String getIdnum() {
        return idnum;
    }

    public void setIdnum(String idnum) {
        this.idnum = idnum;
    }

    public int getIsservepres() {
        return isservepres;
    }

    public void setIsservepres(int isservepres) {
        this.isservepres = isservepres;
    }

    public int getTitles() {
        return titles;
    }

    public void setTitles(int titles) {
        this.titles = titles;
    }

    public String getContactphone() {
        return contactphone;
    }

    public void setContactphone(String contactphone) {
        this.contactphone = contactphone;
    }

    public String getCompanyphone() {
        return companyphone;
    }

    public void setCompanyphone(String companyphone) {
        this.companyphone = companyphone;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getLane() {
        return lane;
    }

    public void setLane(String lane) {
        this.lane = lane;
    }

    public String getCom_lane() {
        return com_lane;
    }

    public void setCom_lane(String com_lane) {
        this.com_lane = com_lane;
    }

    public Map toMap(Map<String,String> map){

        map.put("flag",String.valueOf(flag));
        map.put("child_flag",String.valueOf(child_flag));
        map.put("account",String.valueOf(account));
        map.put("passwd",String.valueOf(passwd));
        map.put("firstname",String.valueOf(firstname));
        map.put("lastname",String.valueOf(lastname));
        map.put("email",String.valueOf(email));
        map.put("mobile",String.valueOf(mobile));
        map.put("gender",String.valueOf(gender));
        map.put("lang",String.valueOf("zh_TW"));
        map.put("addr",String.valueOf(addr));
        map.put("source",String.valueOf(source));
        map.put("name",String.valueOf(name));
        map.put("state",String.valueOf(state));
        map.put("statename",String.valueOf(statename));
        map.put("city",String.valueOf(city));
        map.put("cityname",String.valueOf(cityname));
        map.put("area",String.valueOf(area));
        map.put("areaname",String.valueOf(areaname));
        map.put("street",String.valueOf(street));
        map.put("streetname",String.valueOf(streetname));
        map.put("wstreet",String.valueOf(wstreet));
        map.put("wstreetname",String.valueOf(wstreetname));
        map.put("alley",String.valueOf(alley));
        map.put("lane",String.valueOf(lane));
        map.put("gate",String.valueOf(gate));
        map.put("floor",String.valueOf(floor));
        map.put("room",String.valueOf(room));
        map.put("community_seq",String.valueOf(community_seq));
        map.put("communityname",String.valueOf(communityname));
        map.put("comstate",String.valueOf(comstate));
        map.put("comcity",String.valueOf(comcity));
        map.put("comarea",String.valueOf(comarea));
        map.put("companyaddr",String.valueOf(companyaddr));
        map.put("wcompanystreet",String.valueOf(wcompanystreet));
        map.put("com_alley",String.valueOf(com_alley));
        map.put("com_lane",String.valueOf(com_lane));
        map.put("com_room",String.valueOf(com_room));
        map.put("com_gate",String.valueOf(com_gate));
        map.put("com_floor",String.valueOf(com_floor));
        map.put("companycommunity_seq",String.valueOf(companycommunity_seq));
        map.put("companycommunityname",String.valueOf(companycommunityname));
        map.put("brand",String.valueOf(brand));
        map.put("brandname",String.valueOf(brandname));
        map.put("companyname",String.valueOf(companyname));
        map.put("uniquecode",String.valueOf(uniquecode));
        map.put("shopname",String.valueOf(shopname));
        map.put("shoptype",String.valueOf(shoptype));
        map.put("shoptype",String.valueOf(companyname));
        map.put("brokerage",String.valueOf(brokerage));
        map.put("server_addr1",String.valueOf(server_addr1));
        map.put("server_addr2",String.valueOf(server_addr2));
        map.put("certi1",String.valueOf(certi1));
        map.put("certi2",String.valueOf(certi2));
        map.put("certi3",String.valueOf(certi3));
        map.put("isservepres",String.valueOf(isservepres));
        map.put("titles",String.valueOf(titles));
        map.put("contactphone",String.valueOf(contactphone));
        map.put("companyphone",String.valueOf(companyphone));

        return map;
    }

}
